Ray Strode [Fri, 29 Jan 2016 16:19:03 +0000 (11:19 -0500)]
wayland: stage uncommitted changes to dedicated buffer
Right now we use one buffer for both staged changes (freshly painted
changes waiting for the frame clock to send to the compositor) and
committed changes (changes actively being read by the compositor
process). This creates a problem in the event we need to stage updates
at the same time the compositor is processing committed updates: we
can't change what the compositor is actively processing.
The current solution for handling this contention is to allocate a
temporary buffer on the spot at the time the updates are staged, and to
copy that buffer back to the shared buffer later. The problem, though,
is that the copy to the shared buffer currently happens as soon as
the updates are finished being staged, not when the shared buffer is
done being processed by the compositor.
In order to address that problem, this commit changes the code to always
stage changes to a dedicated staging buffer. The staging buffer is
used exclusively by the client until the client is done with it, and then
once that staging buffer is committed, the client never writes to that
buffer again. If the client needs to stage new updates, it allocates a
brand new staging buffer, draws to it, and back fills the undrawn parts
of the buffer from a copy of the contents of the committed buffer.
As an optimization, the compositor has the option of releasing the
committed buffer back to the client. If it does so before the client
needs to stage new updates, then the client will reuse the buffer
for staging future updates. This optimization prevents having to allocate
a new staging buffer and the associated cost of back filling
that new buffer with a readback of the committed buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Tue, 2 Feb 2016 19:36:25 +0000 (14:36 -0500)]
wayland: don't handle buffer release centrally
Right now we handle buffer releases coming from the
compositor in a central place. We add a listener when
first creating the shared buffers.
This is problematic because a buffer can only have
one listener on it at once so users of the buffer
can't get notified when it's released.
This commit moves the buffer listener code from the
centrally managed display code to the cursor and window
code.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Tue, 2 Feb 2016 17:20:22 +0000 (12:20 -0500)]
wayland: always return FALSE from begin_paint
The client and compositor share access to the window
pixel buffers. After the client hands off (commits)
the buffer to the compositor it's not supposed to write
to it again until it's released by the compositor.
The code tries to deal with this contention by allocating
a temporary buffer and using that in the mean time. This
temporary buffer is allocated by a higher layer of the code
when begin_paint returns TRUE. Unfortunately, that layer of
the code has no idea when the buffer is released, so it ends
up blitting the temporary buffer back to the shared buffer
prematurely.
This commit changes begin_paint to always return FALSE.
A future commit will address the contention problem in
a different way.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Wed, 3 Feb 2016 01:43:12 +0000 (20:43 -0500)]
wayland: use g_clear_pointer when destroying cairo surfaces
There are a few places where we destroy a cairo surface and
then nullify it. This commit changes those to use
g_clear_pointer instead.
It also drops a cairo_surface_finish call that is unnecessary
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Wed, 3 Feb 2016 15:12:23 +0000 (10:12 -0500)]
wayland: rename cairo surface user data key to be more specific
This commit renames the key name to be more specific for clarity.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Tue, 2 Feb 2016 16:42:52 +0000 (11:42 -0500)]
wayland: move server proxy objects to substructure
This commit moves the server proxy objects to a substructure
for clarity.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Ray Strode [Tue, 2 Feb 2016 16:27:54 +0000 (11:27 -0500)]
wayland: rename window->surface to window->wl_surface
The name surface is really overloaded when dealing
with wayland windows.
To alleviate ambiguity, this commit changes the name
of the "surface" and "subsurface" members to have
a wl_ prefix.
https://bugzilla.gnome.org/show_bug.cgi?id=761312
Matthias Clasen [Sat, 6 Feb 2016 08:58:46 +0000 (09:58 +0100)]
Fix stylecontext tests
This was broken by
f7ec9c98ef0ef8740c93f96af9d971b0211118c1,
since type names are no longer used at all in CSS matching.
Matthias Clasen [Sat, 6 Feb 2016 08:28:51 +0000 (09:28 +0100)]
Update CSS docs regarding type names
We no longer use type names at all.
Benjamin Otte [Fri, 5 Feb 2016 22:47:48 +0000 (23:47 +0100)]
cssselector: Remove type references
We don't use types anymore.
Benjamin Otte [Fri, 5 Feb 2016 22:43:05 +0000 (23:43 +0100)]
cssmatcher: Remove type argument from name matcher
We no longer use types when matching names.
Benjamin Otte [Fri, 5 Feb 2016 18:31:03 +0000 (19:31 +0100)]
inspector: Drop type name from node list
It's not used anymore in the CSS, so people don't need to see it.
Benjamin Otte [Fri, 5 Feb 2016 18:01:48 +0000 (19:01 +0100)]
cssimageradial: Only allow at "<position>" after other props
Don't allow syntax like
at top left circle
but follow the spec about requiring the at <position> right before the
comma.
This is porbably because
circle at 10px 10px
could be interpreted as
circle 10px at 10px
with the now disallowed syntax, too.
Test included.
Benjamin Otte [Fri, 5 Feb 2016 17:30:28 +0000 (18:30 +0100)]
cssimageradial: Only emit one error for wrong position
Test included.
Matthias Clasen [Fri, 5 Feb 2016 14:54:50 +0000 (15:54 +0100)]
css tests: Fix style tests
Commit
d0fd7990c3f2c738f86185418ccd76b14da8a776 changed
the location of builtin themes, breaking the loading of
the empty theme in test-css-style.
Matthias Clasen [Fri, 5 Feb 2016 14:50:35 +0000 (15:50 +0100)]
css tests: Fix expected output
This is fallout from
f7ec9c98ef0ef8740c93f96af9d971b0211118c1.
Benjamin Otte [Fri, 5 Feb 2016 13:50:37 +0000 (14:50 +0100)]
css: Convert numbers with GTK's dpi
Don't hardcode 96 for dpi, but instead use the value of the -gtk-dpi
property (that mirrors the GdkScreen's dpi if it wasn't set explicitly).
This makes these values scale when the large font setting in
control-center is enabled.
Benjamin Otte [Fri, 5 Feb 2016 13:42:41 +0000 (14:42 +0100)]
css: Properly convert em, ex and rem to pixels
The previous code converted to pt.
Lapo Calamandrei [Fri, 5 Feb 2016 13:10:36 +0000 (14:10 +0100)]
Adwaita: darker background for popovers
Matthias Clasen [Fri, 5 Feb 2016 10:53:50 +0000 (11:53 +0100)]
levelbar: Make discrete levelbars behave as before
During the gadget conversion, the drawing of discrete levelbars
was unintentionally changed to draw a wide trough but narrow
blocks, which does not look great. So go back to the previous
way of drawing things.
https://bugzilla.gnome.org/show_bug.cgi?id=761428
Matthias Clasen [Fri, 5 Feb 2016 10:42:28 +0000 (11:42 +0100)]
Fix indentation
gcc 6 complains about this.
Matthias Clasen [Fri, 5 Feb 2016 05:53:11 +0000 (06:53 +0100)]
Document rem as CSS unit
Timm Bäder [Thu, 4 Feb 2016 18:03:37 +0000 (19:03 +0100)]
switch: Don't queue draws after setting state flags
Benjamin Otte [Thu, 4 Feb 2016 18:37:44 +0000 (19:37 +0100)]
css: Add rem unit
Good luck, Lapo.
Benjamin Otte [Thu, 4 Feb 2016 16:22:39 +0000 (17:22 +0100)]
widget: Set a css name
Now selecting a widget by class name no longer works.
This is probably most relevant for users outside of GTK that want to
style their own widgets. Those widgets should now either add their own
style classes (if they want to adjust existing CSS) or use
gtk_widget_class_set_css_name() themselves (if they want to get rid of
all "upstream" styling).
Timm Bäder [Mon, 1 Feb 2016 10:25:51 +0000 (11:25 +0100)]
Range: Group all three gestures
And reset the grab_location in the ::released handler of the multipress
gesture.
Previously, when leaving fine-tune mode, the ::released handler of the
multipress gesture would call stop_scrolling, which calls
range_grab_remove and resets the grab_location. The ::drag-end handler
is executed after that, and only unsets priv->in_drag if the
grab_location is MOUSE_OUTSIDE, which it never was, since the ::released
handler already reset it. This lead to priv->in_drag being set even
though no dragging was in progress anymore, which e.g. made shift
pressed after leaving the fine-tune mode entering it again.
https://bugzilla.gnome.org/show_bug.cgi?id=761402
William Hua [Tue, 2 Feb 2016 20:33:33 +0000 (15:33 -0500)]
x11: don't apply scaling factor twice
The fallback behaviour of get_work_area () divides the
screen width and height by the window scaling factor, but
those values are already scaled down.
https://bugzilla.gnome.org/show_bug.cgi?id=761474
Руслан Ижбулатов [Thu, 4 Feb 2016 11:23:12 +0000 (11:23 +0000)]
Don't do remote checks on NULL files
Calling _gtk_file_consider_as_remote() with a NULL argument
results in warnings being thrown.
Note that query->priv->location being NULL is a state that does
not seem to be invalid by itself.
This could happen if you do search-as-you-type in a filechooser,
which has a filter that does not match anything *and* the current
"place" selected is "Recent".
https://bugzilla.gnome.org/show_bug.cgi?id=761552
Matthias Clasen [Thu, 4 Feb 2016 12:37:50 +0000 (13:37 +0100)]
Move private widget path functions away
We don't put private functions in public headers anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=761339
Benjamin Otte [Thu, 4 Feb 2016 13:25:46 +0000 (14:25 +0100)]
win32: Get rid of XP theme
XP is not supported anymore. And we can massively simplify the win32
theme if we don't have to support 2 versions.
Benjamin Otte [Thu, 4 Feb 2016 13:23:08 +0000 (14:23 +0100)]
win32: Delete classic theme
Well, actually, stop adding an extra version of raleigh
Benjamin Otte [Thu, 4 Feb 2016 13:19:02 +0000 (14:19 +0100)]
build: Don't break windows build
Hardcode the existing files instead of doing a for loop and attempting
string-fudging magic.
Lapo Calamandrei [Thu, 4 Feb 2016 13:13:42 +0000 (14:13 +0100)]
Adwaita: removed some old cruft from _drawing.scss
resulting in a nice number of non working selectors ditched.
Benjamin Otte [Thu, 4 Feb 2016 12:34:34 +0000 (13:34 +0100)]
inspector: Don't hardcode builtin themes
Insteead, enumerate the resources that are available. Fixes windows
themes not being listed in the inspector.
Benjamin Otte [Thu, 4 Feb 2016 12:28:21 +0000 (13:28 +0100)]
cssprovider: Change location of builtin themes
Instead of
/org/gtk/libgtk/theme/$THEME-$VARIANT.css
look at
/org/gtk/libgtk/theme/$THEME/gtk-$VARIANT.css
and that way mirror the directory layout of real themes.
Timm Bäder [Wed, 3 Feb 2016 18:39:04 +0000 (19:39 +0100)]
actionbar: Remove unnecessary map/unmap implementations
These just do what the default implementations do anyway.
Timm Bäder [Mon, 1 Feb 2016 14:25:42 +0000 (15:25 +0100)]
statusbar: Remove unused include
Timm Bäder [Mon, 1 Feb 2016 14:25:10 +0000 (15:25 +0100)]
Remove _gtk_box_get_children
It's doing exactly the same thing as gtk_container_get_children.
Timm Bäder [Mon, 1 Feb 2016 14:15:56 +0000 (15:15 +0100)]
colorswatch: Remove unused constant
Benjamin Otte [Thu, 4 Feb 2016 11:24:34 +0000 (12:24 +0100)]
entry: queue an allocate when pulsing
We need to reposition the progress gadget and that's done during
allocation.
Alberts Muktupāvels [Thu, 4 Feb 2016 09:52:07 +0000 (11:52 +0200)]
gdkwindow-x11: always set _GTK_THEME_VARIANT property
Set _GTK_THEME_VARIANT to empty string when default theme variant
is used. This will allow to understand whether _GTK_THEME_VARIANT
is not supported or default variant is requested.
https://bugzilla.gnome.org/show_bug.cgi?id=761476
Alberts Muktupāvels [Wed, 3 Feb 2016 13:48:52 +0000 (15:48 +0200)]
gtksettings: fix critical warning
Commit
5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 introduced critical
warning - g_value_copy: assertion 'g_value_type_compatible (...)' failed.
https://bugzilla.gnome.org/show_bug.cgi?id=761381
Benjamin Otte [Wed, 3 Feb 2016 22:07:05 +0000 (23:07 +0100)]
broadway: Define variables where they are used
Avoids gcc warnings about unused variables.
Benjamin Otte [Wed, 3 Feb 2016 22:06:53 +0000 (23:06 +0100)]
composetable: Fix gcc warnings
Benjamin Otte [Wed, 3 Feb 2016 21:50:03 +0000 (22:50 +0100)]
immodule: Use correct sign for function prototype
Benjamin Otte [Wed, 3 Feb 2016 19:44:06 +0000 (20:44 +0100)]
entry: Turn progress node into a gadget
Benjamin Otte [Tue, 2 Feb 2016 14:44:28 +0000 (15:44 +0100)]
entry: Simplify drawing code
Lapo Calamandrei [Wed, 3 Feb 2016 17:32:51 +0000 (18:32 +0100)]
Adwaita: fix headerbar spinbutton size
fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484
William Hua [Wed, 3 Feb 2016 15:20:30 +0000 (10:20 -0500)]
Matthias Clasen [Wed, 3 Feb 2016 15:06:05 +0000 (16:06 +0100)]
print dialog: Fix layout preview drawing
Use the CSS name paper for this as well, and make sure Adwaita
sets a color that makes the text visible in the dark theme as well.
Lapo Calamandrei [Wed, 3 Feb 2016 14:23:17 +0000 (15:23 +0100)]
Adwaita: notebook with hidden header style fix
the stack styling is applied only when there is a header, hence
when the stack node is not the notebook only child, should cure
https://bugzilla.gnome.org/show_bug.cgi?id=760996
Lapo Calamandrei [Wed, 3 Feb 2016 14:03:39 +0000 (15:03 +0100)]
Adwaita: fix vertical spinbutton style
correct sizing and workaround disabled entry text colors.
Carlos Garcia Campos [Tue, 2 Feb 2016 17:50:58 +0000 (18:50 +0100)]
notebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder operation
This broke in
f535251507a6a0af68aed6348ae80cbdac9b1f4a that removed
during_reorder in favor of using the current operation, but removed the
check from gtk_notebook_stop_reorder().
Alexandre Franke [Tue, 2 Feb 2016 16:32:30 +0000 (16:32 +0000)]
Updated French translation
(cherry picked from commit
85fb4c1c0a17906a65e0b732770b88353b6214c4)
Alberts Muktupāvels [Mon, 1 Feb 2016 20:38:28 +0000 (22:38 +0200)]
gtksettings: reset property to correct default value
https://bugzilla.gnome.org/show_bug.cgi?id=76138
Emmanuele Bassi [Tue, 2 Feb 2016 15:08:10 +0000 (15:08 +0000)]
Revert "Add missing (out) annotation to gdk_rgba_parse"
This reverts commit
695860958a9a2e7c825bcec4d0d42b427f0fb47e.
The change introduced an introspection ABI break.
See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125
If we want to move the parse() method to be a constructor or a class
method, we'll need to do more testing or add new API.
https://bugzilla.gnome.org/show_bug.cgi?id=754990
Benjamin Otte [Mon, 1 Feb 2016 13:47:43 +0000 (14:47 +0100)]
entry: Draw progress in the right place
Balázs Meskó [Tue, 2 Feb 2016 13:22:12 +0000 (13:22 +0000)]
Updated Hungarian translation
Mario Blättermann [Mon, 1 Feb 2016 18:51:46 +0000 (19:51 +0100)]
Updated German translation
Matthias Clasen [Sun, 31 Jan 2016 21:53:53 +0000 (16:53 -0500)]
reftests: Make separator-size test pass in HighContrastInverse
After neutralizing the stack background, the notebook itself
was peeking through.
Daniel Mustieles [Sun, 31 Jan 2016 21:30:39 +0000 (22:30 +0100)]
Updated Spanish translation
Daniel Mustieles [Sun, 31 Jan 2016 21:30:29 +0000 (22:30 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 31 Jan 2016 19:10:13 +0000 (14:10 -0500)]
Trivial formatting fix
Matthias Clasen [Sun, 31 Jan 2016 19:08:35 +0000 (14:08 -0500)]
reftests: Make label-text-shadow-changes-modify-clip test more reliable
This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the rui on the fly if we find that animations
are disabled.
Matthias Clasen [Sun, 31 Jan 2016 19:06:34 +0000 (14:06 -0500)]
reftests: Add a message to the test output
Emit a message that ends up in the test output if we are modifying
the test on the fly.
Matthias Clasen [Sun, 31 Jan 2016 19:00:08 +0000 (14:00 -0500)]
reftests: Rename a source file
Easier to keep track of things if the sources are names after
the test they are used in.
Timm Bäder [Sun, 31 Jan 2016 15:17:03 +0000 (16:17 +0100)]
entry: Fix icon areas
Do the same thing we already do in gtk_entry_get_text_area.
Timm Bäder [Sat, 30 Jan 2016 23:01:31 +0000 (00:01 +0100)]
widget: Annotate out params of _translate_coordinates as optional
Matthias Clasen [Sun, 31 Jan 2016 18:51:54 +0000 (13:51 -0500)]
reftests: Make animation-direction test more reliable
This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the reference ui on the fly if we find
that animations are disabled.
Matthias Clasen [Sun, 31 Jan 2016 17:57:50 +0000 (12:57 -0500)]
gtk-builder-tool: Expand the preview command
Make the preview command parse options properly, turn the ID into
an --id=ID option, and add a --css=FILE option that allows to
specify a css file to use for previewing.
This is useful for e.g. previewing the reftest .ui files with
their corresponding .css.
Matthias Clasen [Sun, 31 Jan 2016 17:05:35 +0000 (12:05 -0500)]
gtk-launch: Add --version
Support --version. Also improve the --help output cosmetically.
Matthias Clasen [Sun, 31 Jan 2016 16:01:46 +0000 (11:01 -0500)]
gtk-builder-tool: Accept --help
Saying 'Failed to open file '--help' is not polite or smart.
Catch this case and show usage information.
Matthias Clasen [Sun, 31 Jan 2016 04:07:56 +0000 (23:07 -0500)]
file chooser: Avoid a crash
Since
39c2d12330b6d4405ca8a5599c12017c58626fcf,
priv->operation_mode == OPERATION_MODE_BROWSE no longer
guarantees that priv->browse_files_model is the current
model of the list - we are only switching the models after
loading the new directory. Avoid triggering the assertion
in show_and_select_files by checking if we have right model
before calling it.
https://bugzilla.gnome.org/show_bug.cgi?id=761209
Matthias Clasen [Sun, 31 Jan 2016 03:52:13 +0000 (22:52 -0500)]
Don't include the builtin sequence table in multiple places
The table is defined as static const guint16 [], so it really
should only be included in one source file.
Matthias Clasen [Sun, 31 Jan 2016 03:50:54 +0000 (22:50 -0500)]
combobox: Avoid a misleading indentation
gcc 6 warns about this sort of thing. There were also some
stray ; here.
Matthias Clasen [Sun, 31 Jan 2016 02:50:00 +0000 (21:50 -0500)]
Fix the border-image-excess-size reftest
This was failing because the grid is now respecting border
width too. Making the selector more specific so it only
applies to the toolbars fixes this.
Matthias Clasen [Sun, 31 Jan 2016 02:43:49 +0000 (21:43 -0500)]
Fix another reftest
Make sure the notebook in the separator-size reftest does not
peek through, by giving it a transparent background.
Matthias Clasen [Sun, 31 Jan 2016 02:08:19 +0000 (21:08 -0500)]
Fix some reftests under wayland
Tests need to use popup windows, in order to avoid differences
due to CSD.
Matthias Clasen [Sun, 31 Jan 2016 01:56:17 +0000 (20:56 -0500)]
wayland: Reduce warning level for parentless temporaries
Temp windows without parent are used frequently in our testsuite;
using g_warning on them causes the tests to fail, which is not
useful. Reduce the warning to a g_message.
Matthias Clasen [Sat, 30 Jan 2016 23:31:30 +0000 (18:31 -0500)]
treeview: Draw background when empty
We have a function we call for drawing the empty case, but
it only renders a focus rectangle. Make it draw the background
as well.
https://bugzilla.gnome.org/show_bug.cgi?id=761309
Timm Bäder [Sat, 30 Jan 2016 21:31:27 +0000 (22:31 +0100)]
colorchooserwidgeet: Reset the selected swatch when removing
Otherwise, priv->current points to garbage and subsequently leads to a
crash, e.g. when adding another custom color.
Matthias Clasen [Sat, 30 Jan 2016 21:09:15 +0000 (16:09 -0500)]
Document gtk_parse_args limitations
Mention that some things won't work without a display
connection.
Matthias Clasen [Sat, 30 Jan 2016 21:06:59 +0000 (16:06 -0500)]
Throw an error when a display is missing
Creating style context won't work without a display, so
give a clear error message and abort instead of segfaulting
later on.
https://bugzilla.gnome.org/show_bug.cgi?id=761332
Matthias Clasen [Sat, 30 Jan 2016 18:27:30 +0000 (13:27 -0500)]
3.19.8
Matthias Clasen [Sat, 30 Jan 2016 16:32:06 +0000 (11:32 -0500)]
Remove entry-progress-coloring reftest
We don't recolor text over progress anymore, so this
tests a no longer existing feature.
Matthias Clasen [Sat, 30 Jan 2016 15:29:06 +0000 (10:29 -0500)]
Use TAP output for installed tests
Matthias Clasen [Sat, 30 Jan 2016 15:10:39 +0000 (10:10 -0500)]
Run reftests with HighContrastInverse too
For installed tests, we run the reftests with all the builtin
themes (minus platform-specific ones). Add HighContrastInverse
to that list.
Matthias Clasen [Sat, 30 Jan 2016 04:40:58 +0000 (23:40 -0500)]
Adwaita: Add symbolic png assets
And use them as fallback for the svg ones. This lets us
avoid a hard dependency on librsvg - the theme will work
without svg support.
Matthias Clasen [Sat, 30 Jan 2016 04:36:24 +0000 (23:36 -0500)]
icontheme: Avoid a crash
gtk_icon_info_new_for_file with a size of 0 would fail for
symbolic pngs because we ended up scaling with 0. Avoid this.
Matthias Clasen [Sat, 30 Jan 2016 01:23:27 +0000 (20:23 -0500)]
css: Support the image() notation
This lets us do fallback in case an image format is not
supported, and also lets us provide solid-color images.
We don't support image fragment notations.
See ttps://www.w3.org/TR/css3-images/#image-notation
https://bugzilla.gnome.org/show_bug.cgi?id=761318
Matthias Clasen [Sat, 30 Jan 2016 03:47:38 +0000 (22:47 -0500)]
Emit an error if image loading fails
Instead of spamming stderr with g_warning, use the new
emit_error method of the GtkStyleProviderPrivate interface
to emit an error if loading an image fails.
Matthias Clasen [Sat, 30 Jan 2016 03:45:21 +0000 (22:45 -0500)]
CSS provider: Add a way to emit errors
Currently, GtkCssProvider can emit ::parsing-error only during
the actual parsing, although the documentation hints that it might
happen at other times.
This commit adds a emit_error method to the GtkStyleProviderPrivate
interface that will let us emit errors from the compute() implementations
as well, which can be useful (e.g. if an image fails to load).
Balázs Meskó [Sat, 30 Jan 2016 01:24:09 +0000 (01:24 +0000)]
Updated Hungarian translation
Gábor Kelemen [Sat, 30 Jan 2016 01:23:14 +0000 (01:23 +0000)]
Updated Hungarian translation
Balázs Meskó [Sat, 30 Jan 2016 01:22:10 +0000 (01:22 +0000)]
Updated Hungarian translation
Matthias Clasen [Sat, 30 Jan 2016 00:12:51 +0000 (19:12 -0500)]
file chooser: Make Escape close the dialog
In some situations (no header bar, save mode), hitting Escape
would not do anything because the entry ate the key event.
Fix this by telling the entry to only handle Escape when there
is something to do, such as switching back to the path bar.
https://bugzilla.gnome.org/show_bug.cgi?id=761026
Matthias Clasen [Fri, 29 Jan 2016 23:23:25 +0000 (18:23 -0500)]
Add a css style test for color names
Verify that we support all the css color names, with their expected
rgb values.
Matthias Clasen [Fri, 29 Jan 2016 22:30:10 +0000 (17:30 -0500)]
css image recolor: Load images at the proper scale
We should not hardcode a scale of 1, this leads to
pixellated upscaled images at scale=2, even if the source
is an svg. By passing the proper scale, we can load the
svg at the correct size.
Matthias Clasen [Fri, 29 Jan 2016 22:27:35 +0000 (17:27 -0500)]
icon theme: Improve loading of unthemed files
When creating icon info objects for unthemed files, we don't
really have a nominal size, so we pass 0 to mean 'load at
original size'. However, this is not what was happening.
To make this possible, add variants of some pixbuf loading
functions that take a scale factor instead of a desired size,
and use those when we don't have a nominal size.
Matthias Clasen [Fri, 29 Jan 2016 18:44:45 +0000 (13:44 -0500)]
image: use GtkMisc padding again
This was lost in the gadget conversion.
Thankfully, the misc-alignment reftest catches this.